home *** CD-ROM | disk | FTP | other *** search
/ Ultra Pack / UltraComputing Partner Applications.iso / Maestro / Scripts / Install next >
Encoding:
Text File  |  1995-03-12  |  2.0 KB  |  70 lines

  1. #!/bin/csh -f
  2. # Overall MAEstro Software installation script
  3. # Copyright (C) 1995 by George D. Drapeau
  4. #
  5.  
  6. if ($#argv > 0) then                        # Was a command-line argument specified?
  7.     set scriptArg = $argv[1]                # Yes, use it during this install process
  8. else
  9.     set scriptArg = "standard"                # No, install just the standard software (see below for definition)
  10. endif
  11.  
  12. #-------------------------- Beginning of Intro Message --------------------------
  13. cat << EndOfIntroMessage
  14.  
  15. MAEstro Software Installation
  16.  
  17. This script can install all of the software on this CD.
  18. By default, this script will install the following packages:
  19.  
  20. * Applications
  21. * Developer's Tools
  22. * Unsupported Extras
  23.  
  24. Due to the size of the 'Demos' package, it is not installed by
  25. default.  If you wish to install the 'Demos' package at a later time
  26. you may do so by typing
  27.  
  28.     ./Install demos
  29.  
  30. Please press the Return key when you have read this message.
  31.  
  32. EndOfIntroMessage
  33.  
  34. #-------------------------- End of Intro Message --------------------------
  35.  
  36. set ReadMessage = $<                        # Wait for the installer to press Return before continuing
  37.  
  38. switch ($scriptArg)
  39.   case "all":                            # Full MAEstro installation
  40.     echo "Installing MAEstro applications, demos, developer tools, and unsupported software."
  41.     .scripts/installApps
  42.     .scripts/installDemos
  43.     .scripts/installPgmr
  44.     .scripts/installExtra
  45.   breaksw
  46.   case "demos":                            # MAEstro Demos
  47.     echo "Installing MAEstro demos."
  48.     .scripts/installDemos
  49.   breaksw
  50.   case "developer":                        # MAEstro Developer tools
  51.     echo "Installing MAEstro developer tools."
  52.     .scripts/installPgmr
  53.   breaksw
  54.   case "extras":                        # Unsupported software
  55.     echo "Installing unsupported software."
  56.     .scripts/installExtra
  57.   breaksw
  58.   case "standard":                        # Default installation process
  59.   default:
  60.     echo "Installing MAEstro Applications."
  61.     .scripts/installApps
  62.     echo "Installing MAEstro developer tools."
  63.     .scripts/installPgmr
  64.     echo "Installing unsupported software."
  65.     .scripts/installExtra
  66.   breaksw
  67. endsw    
  68.  
  69. exit (0)                            # Installation was successful; get outtahere.
  70.